//
//  MainViewCell.m
//  OASystem
//
//  Created by zhoupengfei on 16/3/26.
//  Copyright © 2016年 zpf. All rights reserved.
//

#import "MainViewCell.h"

@implementation MainViewCell
-(void)setDict:(NSDictionary *)dict{
    _dict = dict;
    self.imageName.image = [UIImage imageNamed:dict[@"image"]];
    self.titleLabel.text = dict[@"title"];
}

-(void)awakeFromNib{
//self.contentView.layer.borderWidth = 0.5;
//
//self.contentView.layer.borderColor = [UIColor blueColor].CGColor;
    self.btnCount.layer.cornerRadius = 10;
    self.btnCount.layer.masksToBounds = YES;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
     self.imageName.image = [UIImage imageNamed:_dict[@"image"]];
    self.titleLabel.text = _dict[@"title"];
}
@end
